<template>
  <OnlyOfficeEditor :fileId="fileId" />
</template>

<script setup>
import { ref } from 'vue'
import { useRoute } from 'vue-router'
import OnlyOfficeEditor from '@/components/OnlyOfficeEditor.vue'

const route = useRoute()

const fileId = ref(route.query.file)
</script>
